<!DOCTYPE html>

<html>
  <head>
    <title>Batzen #{get 'title' /}</title>
    <meta charset="${_response_encoding}">
	<meta content="width=device-width, initial-scale=1.0" name="viewport">
	
	
	
	
	
    #{get 'moreStyles' /}
    <link rel="stylesheet" href="@{'/public/bootstrap/css/bootstrap.css'}">
    <link rel="stylesheet" href="@{'/public/bootstrap/css/bootstrap-responsive.css'}">
	<link rel="stylesheet" href="@{'/public/stylesheets/main.css'}">
    
    <link rel="shortcut icon" type="image/png" href="@{'/public/images/favicon.png'}">
	
	<style type="text/css">
      
      html, body {
          font: 12px Verdana, Arial, Tahoma;
      }
  	</style>
	
    #{get 'moreTemplates' /}
   
#{if play.mode == play.mode.DEV}    
     #{if user}
	#{if user.admin}
	<script data-main="@{'/public/javascripts/app/main_admin.js'}" src="@{'/public/javascripts/app/require-jquery.js'}"></script>
	#{/if}
	#{elseif user.familiar}
	<script data-main="@{'/public/javascripts/app/main_familiar.js'}" src="@{'/public/javascripts/app/require-jquery.js'}"></script>
	#{/elseif}
	#{elseif user.internal}
	<script data-main="@{'/public/javascripts/app/main_internal.js'}" src="@{'/public/javascripts/app/require-jquery.js'}"></script>
	#{/elseif}
	#{else}
	   <script data-main="@{'/public/javascripts/app/main.js'}" src="@{'/public/javascripts/app/require-jquery.js'}"></script>  
	#{/else}
	#{/if}
	#{else}
	    <script data-main="@{'/public/javascripts/app/main_guest.js'}" src="@{'/public/javascripts/app/require-jquery.js'}"></script>
	#{/else}
#{/if}
#{if play.mode == play.mode.PROD}    
    #{if user}
	#{if user.admin}
	<script data-main="@{'/public/javascripts/app-build/main_admin.js'}" src="@{'/public/javascripts/app-build/require-jquery.js'}"></script>
	#{/if}
	#{elseif user.familiar}
	<script data-main="@{'/public/javascripts/app-build/main_familiar.js'}" src="@{'/public/javascripts/app-build/require-jquery.js'}"></script>
	#{/elseif}
	#{elseif user.internal}
	<script data-main="@{'/public/javascripts/app-build/main_internal.js'}" src="@{'/public/javascripts/app-build/require-jquery.js'}"></script>
	#{/elseif}
	#{else}
	   <script data-main="@{'/public/javascripts/app-build/main.js'}" src="@{'/public/javascripts/app-build/require-jquery.js'}"></script>  
	#{/else}
	#{/if}
	#{else}
	    <script data-main="@{'/public/javascripts/app-build/main_guest.js'}" src="@{'/public/javascripts/app-build/require-jquery.js'}"></script>
	#{/else}
#{/if}
    #{get 'moreScripts' /}
   
  </head>
  
  <body data-spy="scroll" data-target=".subnav" data-offset="50">

       #{include 'topbar.html' /}
       
       

		#{doLayout /}
    
  </body>
  
</html>
